package com.nd.pojo.vo;

import lombok.Data;

import java.util.List;

/**
 * @program: project2mall
 * @description: total items 工具类
 * @author: shit_code_builder
 * @create: 2021-06-06 14:38
 **/
@Data
public class ListItems<T> {

   private long total;

   private List<T> items;

    public ListItems(List<T> items) {
        this.items = items;

    }

    public void setTotal(long total) {
        this.total = total;
    }

    public long getTotal() {
        return total;
    }

    public List<T> getItems() {
        return items;
    }
}
